-
Notifications
You must be signed in to change notification settings - Fork 132
samples: DML with Returning clause support #2007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks generally good to me. But aren't new samples supposed to go into separate files?
Also, I assume that we will be adding integration tests for these samples?
samples/snippets/src/main/java/com/example/spanner/PgSpannerSample.java
Outdated
Show resolved
Hide resolved
samples/snippets/src/main/java/com/example/spanner/PgSpannerSample.java
Outdated
Show resolved
Hide resolved
@olavloite: I've made the changes based on the comments. Can you please take a look? |
samples/snippets/src/test/java/com/example/spanner/DmlReturningSampleIT.java
Outdated
Show resolved
Hide resolved
samples/snippets/src/test/java/com/example/spanner/PgDmlReturningSampleIT.java
Outdated
Show resolved
Hide resolved
@olavloite: Thank you for reviewing this PR :) |
This PR showcases how users can execute DML statements with returning clause using the Java Spanner client library, for both GoogleStandardSql and PostgreSql dialects.